## 结构体显示模版
##
## 以下是release相关变量定义,谨慎修改
#set $p_rls_encoding = $getVar('c_mark_page_encoding', 'utf-8')
#set $p_rls_with_default_info = $getVar('c_mark_page_with_info', '')
#set $p_rls_status = $getVar('c_mark_page_release','')
##
#set $syntax = $getVar('syntax', '')
#set $desc = $getVar('desc', '')
#set $parameters = $getVar('parameters', '')
#set $remarks = $getVar('remarks', '')
#set $requirements = $getVar('requirements', '')
#set $seealso = $getVar('seealso', '')
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$p_rls_encoding" />
<link media="screen" href="../../css/api_simple.css" type="text/css" rel="Stylesheet">
<title>${c_mark_title, encoding=$p_rls_encoding}</title>
##工具箱代码
#unless $p_rls_status
<script language="Javascript">
function change_by_lang(lang_id)
{
    window.location = "/page/page_view/" + lang_id;
}
</script>
#end unless
##工具箱结束
</head>

<body>
<span class=title>${c_mark_title, encoding=$p_rls_encoding}</span>
<p>&nbsp;</p>
##工具箱代码
##编辑时查看页面可以使用以下便利的链接,在正式输出时将被忽略掉
#unless $p_rls_status
<span class="square">Operate: <a href="$c_mark_action">Edit</a></span>
<span class="square">
Space: <a href="/space/$c_mark_space_id">$c_mark_space_name</a>
Path: /
#for $pid, $pname in $c_mark_page_path.items()
<a href="/page/page_view/$pid">$pname</a>/
#end for
Language: 
<select name="langs" onchange="change_by_lang(this.options[this.selectedIndex].value);">
#for $plang, $plid in $c_mark_page_lang.items()
<option value="$plid">
$plang
</option>
#end for
</select>
</span>
#end unless
##工具箱结束

<div class="main_content">
#if $desc
<p><div class="common_desc">${desc, encoding=$p_rls_encoding}</div></p>
#end if

#if $syntax 
<p><b>Syntax</b></p>
<pre>
${syntax, encoding=$p_rls_encoding}
</pre>
#end if

#if $parameters
<p><b>Parameters</b></p>
<div class="normal_content">${parameters, encoding=$p_rls_encoding}</div>
#end if

#if $remarks
<p><b>Remarks</b></p>
<div class="normal_content">${remarks, encoding=$p_rls_encoding}</div>
#end if

#if $requirements
<p><b>Requirements</b></p>
<p><span class="square">${requirements, encoding=$p_rls_encoding}</span></p>
#end if

#if $seealso
<p><b>See Also</b></p>
<p><span class="square">${seealso, encoding=$p_rls_encoding}</span></p>
#end if

#if $p_rls_with_default_info
<hr />
<p><a href="http://www.nlscan.com/">&copy; Newland Auto-ID Tech. Co.,Ltd. All rights reserved.</a></p>
#end if

</div>

</body>
</html>